import { useState } from "react";
import IconImg from '~/icon.png'

const Footer = (props) => {
    return(
          	<div style={{ textAlign: 'center', padding: '5px 0', position: 'fixed', width: '100%', bottom: '0' }}>  
		 		<a target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=11011502005546" style={{display: 'inline-block', textDecoration:'none',height:'20px',lineHeight:'20px'}}>
                     <img src={IconImg} style={{float:'left'}}/>
                     <div style={{float:'left',height:'20px',lineHeight:'20px',margin: '0px 0px 0px 5px', color:'#939393'}}>京公网安备 11011502005546号</div>
                </a>
                &nbsp;&nbsp;
                <a target="_blank" href="https://beian.miit.gov.cn/#/Integrated/index" style={{display: 'inline-block', textDecoration:'none',height:'20px',lineHeight:'20px'}}>
                     <div style={{float:'left',height:'20px',lineHeight:'20px',margin: '0px 0px 0px 5px', color:'#939393'}}>京ICP备2022003110号-1</div>
                </a> 
		 	</div>
    )
}

export default Footer